#!/bin/bash
./prebuild.sh
cmake -Bbuild -GNinja .
if [ $? -ne 0 ]; then
    echo -e "\e[31m cmake config fail \e[0m"
else
    cmake --build ./build
fi